/**
 * 
 */
package org.swing.utility.jms;

import org.swing.utility.jms.receiver.JmsReceiver;

/**
 * @author lqnhu
 *
 */
public class Subscriber {
	private Subscriber() {
	}

	public static void main(String[] args) throws Exception {
		try {
			JmsReceiver receiver = JmsReceiver.buildForTopic();
			System.out.println("Topic Received : " + receiver.receiveString());
			receiver.close();
		} catch (Exception e) {
			throw e;
		}
	}
}
